package cn.dada.dadarecipes.mall.productreview.mapper;

import cn.dada.dadarecipes.mall.productreview.pojo.dto.AddCommentParam;
import cn.dada.dadarecipes.mall.productreview.pojo.entity.ProductReview;
import cn.dada.dadarecipes.mall.productreview.pojo.vo.ProductReviewVO;

import java.util.List;

public interface ProductReviewMapper {

    List<ProductReviewVO> selectComment(Long productId);

    void insert(ProductReview productReview);

    void delete(Long id);
}
